import unittest
from demo001.TestJsqCase import add
if __name__ == "__main__":
    #得到测试用例套件
    suite = unittest.TestSuite()
    #添加测试用例
    suite.addTest(add("testJia"))
    #得到执行者对象
    #fp = open("test.txt","wb")
    runner = unittest.TextTestRunner()
    runner.run(suite)